/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.calculator.calculator.Impl;

import za.ac.cput.calculator.calculator.Calculator;

/**
 *
 * @author Administrator
 */
public class ImprovedCalculatorImpl implements Calculator{

    @Override
    public String welcomeMessage() {
       return  new CalculatorImpl().welcomeMessage();
    }

    @Override
    public int add(int a, int b) {
       return new CalculatorImpl().add(a, b);
    }

    @Override
    public int subtract(int a, int b) {
       return a-b;
    }

    @Override
    public int divide(int a, int b) {
       return new CalculatorImpl().divide(a, b);
    }

    @Override
    public int multiply(int a, int b) {
        return a*b;
    }

    @Override
    public int run() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
}
